package kr.co.design302.readnote.data;

import android.os.Parcel;
import android.os.Parcelable;

public class BookInfo {
	private int bookNumber;
	private String bookName;
	private String bookAuthor;
	private String imageUrl;
	
	public BookInfo(){}
	
	public BookInfo(int _bookNumber, String _bookName, String _bookAuthor, String _imageUrl) {
		bookNumber = _bookNumber;
		bookName = _bookName;
		bookAuthor = _bookAuthor;
		imageUrl = _imageUrl;
	}
	
	public int getBookNumber() {
		return bookNumber;
	}

	public void setBookNumber(int bookNumber) {
		this.bookNumber = bookNumber;
	}

	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public String getBookAuthor() {
		return bookAuthor;
	}
	public void setBookAuthor(String bookAuthor) {
		this.bookAuthor = bookAuthor;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
//	@Override
//	public int describeContents() {
//		// TODO Auto-generated method stub
//		return 0;
//	}
//	@Override
//	public void writeToParcel(Parcel dest, int flags) {
//		dest.writeString(bookName);
//		dest.writeString(bookAuthor);
//		dest.writeString(imageUrl);
//	}
//	
//	public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
//        public BookInfo createFromParcel(Parcel in) {
//             return new BookInfo(in);
//       }
//
//       public BookInfo[] newArray(int size) {
//            return new BookInfo[size];
//       }
//   };
}
